package com.javabase.lambda;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * @author huilin_rong
 * @date 2021/01/18
 */
@Data
@Builder
@AllArgsConstructor
public class Score {
    private Integer id;
    private String name;
    private Integer score;

    public Score(String name, int score) {
        this.name = name;
        this.score = score;
    }
}
